package com.ruoyi.common.core.domain.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小程序图片管理信息对象 zx_small_imglist
 * 
 * @author ruoyi
 * @date 2021-05-08
 */
public class SmallImglist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识ID */
    private Long imgId;

    /** 图片类型(0机构轮播图1首页轮播图2其他图片) */
    @Excel(name = "图片类型(0机构轮播图1首页轮播图2其他图片)")
    private Integer imgType;

    /** -1隐藏1展示 */
    @Excel(name = "-1隐藏1展示")
    private Integer imgStatus;

    /** 展示排序 升序 */
    @Excel(name = "展示排序 升序")
    private Integer imgSort;

    /** 轮播图片路径 */
    @Excel(name = "轮播图片路径")
    private String imgUrl;

    /** 所属机构id(0小程序首页轮播图，其他为机构id) */
    @Excel(name = "所属机构id(0小程序首页轮播图，其他为机构id)")
    private Long itId;

    /** 编辑用户 */
    @Excel(name = "编辑用户")
    private Integer uId;

    /** 编辑时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "编辑时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setImgId(Long imgId)
    {
        this.imgId = imgId;
    }

    public Long getImgId()
    {
        return imgId;
    }
    public void setImgType(Integer imgType) 
    {
        this.imgType = imgType;
    }

    public Integer getImgType() 
    {
        return imgType;
    }
    public void setImgStatus(Integer imgStatus) 
    {
        this.imgStatus = imgStatus;
    }

    public Integer getImgStatus() 
    {
        return imgStatus;
    }
    public void setImgSort(Integer imgSort) 
    {
        this.imgSort = imgSort;
    }

    public Integer getImgSort() 
    {
        return imgSort;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setuId(Integer uId) 
    {
        this.uId = uId;
    }

    public Integer getuId() 
    {
        return uId;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imgId", getImgId())
            .append("imgType", getImgType())
            .append("imgStatus", getImgStatus())
            .append("imgSort", getImgSort())
            .append("imgUrl", getImgUrl())
            .append("uId", getuId())
            .append("time", getTime())
            .toString();
    }
}
